<?php
/**
 * PlainText Abstraction
 * 
 * @author MF
 * @version 2.3
 */

// Calling Html class to be sure that it is defined.
MF_Main::getInstance()->Html;

class PlainText extends Html  {
	const 
		content_name = "блок Простой текст"; 
	
	public function getById($plaintext_id)
	{
		if (!isset($this->_cashe_obj[$plaintext_id])) {
			$this->_cashe_obj[$plaintext_id] = new SinglePlainText($this->_top,$this,$plaintext_id);
		}
	
		return $this->_cashe_obj[$plaintext_id];
	}
	
}

class SinglePlainText extends SingleHtml
{
	
}